package pers.sen.health.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import pers.sen.health.po.Member;

/**
 * @author Jason
 * @version 1.0.0
 * @date 2020/11/5 9:05
 * @Description TODO
 */
public interface MemberMapper extends BaseMapper<Member> {

    @Select("select id,PHONENUMBER  from t_member where PHONENUMBER = #{telephone}")
    Member findMemberByTelephone(@Param("telephone") String telephone);
}
